<!DocType html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
 <head>
  <meta content="text/html;charset=utf-8"/>
   <title>成绩界面</title>
 </head>
 <script type="text/javascript" th:src="@{/js/selectmark.js}"></script>
 <body>
 <!-- <form action="http://localhost:8080/getMarks/selectMark" method="get"> -->
  <table border="1">
   <tr id="table">
    <td><button onclick="as(this)">删除</button></td>
    <th>成绩编号</th>
    <th>成绩序号</th>
    <th>科目分数</th>
    <th>科目名称</th>
    <th>所属班级</th>
    <th>发布日期</th>
    <th>操作</th>
   </tr>
   <tr th:each="mark,markStat:${list}">
    <td><input type="checkbox" id="cbox" name="cbox1" th:value="${mark.kid}" /></td>
    <td th:text="${mark.kid}" ></td>
    <td th:text="${markStat.index}"></td>
    <td th:text="${mark.kscore}"></td>
    <td th:text="${mark.kname}"></td>
    <td th:text="${mark.gname}"></td>
    <td th:text="${mark.gdate}"></td>
    <td><button th:value="${mark.kid}" th:id="${mark.kid}" onclick="ad(this)">修改</button></td>
   </tr>
  </table>
 <!--  </form> -->
 </body>
</html>